from .development import *

# import os
#
# from .base import *
#
#
# # SECURITY WARNING: don't run with debug turned on in production!
# DEBUG = False
#
#
# # Database
# # https://docs.djangoproject.com/en/3.2/ref/settings/#databases
#
# DATABASES = {
#     'default': {
#         'ENGINE': 'django.db.backends.sqlite3',
#         # 'NAME': BASE_DIR / 'db.sqlite3',
#         'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
#     }
# }
#
# # --- CNKI 电子商务服务接口平台 ---
# # 接口服务使用OAuth2.0标准验证安全性，OAuth是一个关于授权（authorization）的开放网络标准，在全世界得到广泛应用，目前的版本是2.0版.
# # see http://192.168.100.132/EcpOpen/wiki
# FORCE_RE_LOGIN = '1'
# PLATFORM = "skpt"
# APP_KEY = '53035c15366e4223'  # 线上
# # APP_KEY = 'fb90e9ad9e0b46a4'  # 线上
# APP_SECRET = 'afe2febe2f9047a5a1e84dabca615027'  # 线上
# # APP_SECRET = '14d7fffde51e4e9b8ede4473d16e74f9'  # 线上
#
# CNKI_API_BASE_URL = 'http://oauth.cnki.net:8450'  # 外网
#
# CLIENT_AUTHENTICATION = 'http://oauth.cnki.net/Auth/oauth/token'  # 外网
#
# CNKI_LOGIN_BY_UID = CNKI_API_BASE_URL + '/Login/login_by_uid?'
#
# CNKI_LOGIN_BY_NAMEPASS = CNKI_API_BASE_URL + '/Login/login'
#
# # 登录：判断用户名是否存在，存在则得到用户名
# MATCH_USERNAME = CNKI_API_BASE_URL + '/Register/is_loginname_exist?'
#
# # 验证用户是否存在
# CNKI_IS_USER_EXIST = CNKI_API_BASE_URL + '/Register/is_userame_exist?'
#
# # 发送手机验证码
# SEND_VERIFY_CODE_URL = CNKI_API_BASE_URL + '/Register/send_verify_code'
#
# # 手机注册地址
# CNKI_REGISTER = CNKI_API_BASE_URL + '/Register/create/'
#
# # --- CNKI 电子商务服务接口平台 ---
#
# # 自动登录的ip列表
# # ALLOW_IP_LIST = ['111.231.192.250', '182.150.35.234', '182.159.35.231']
#
# # 登录回调地址
# REDIRECT_ADDRESS = ''